code: function filter_name(name){
  	if ( typeof name == "undefined" || name=="" || name==null) name = "my friend";
  	if(name.length > 40 ) name = name.substr(0,40);
  	return name;
  }
docs: cut names bigger that 40 characters