Use jQuery's trim function over String.trim
Use $.noop