Hotfix for IE8

The plugin wasn't working at all because of the trim() and map() functions which are not supported in IE8.