This just makes life a little easier... Squashed the following commits: * Use $.trim() for better browser support