$.trim instead of trim