Better texthandling to ajax-method