Hotfix for IE8

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