Removing trim() call to support IE 8

For issue #23.