string.trim() doesnt work in IE8, change to jquery.trim()
Merge pull request #2 from mgalante/master

string.trim() doesnt work in IE8, change to jquery.trim()