Use jQuery's trim

Some browsers do not have a native String.trim() function
Merge pull request #6 from jakeboone02/patch-1

Use jQuery's trim