Fixed the issue of primitive types being passed as JS objects in IE9

#1388