Fix IE8 compatibility issue
Fixed trim for IE8 compatibility
merged in ie8 fix
updated minified js