define .trim() for IE8

Apparently .trim() is not in IE8
http://stackoverflow.com/questions/2308134/trim-in-javascript-not-working-in-ie

MS Virtual machines, if needed:
http://modern.ie/en-us/virtualization-tools#downloads