Use $.trim instead of built-in