Fix IE javascript error (object attributes named class needs to be quoted).