Replace `Object.keys` with standard `for in` for wider support

Replaced the fairly recent addition of `Object.keys` with the good old fashioned `for in` loop. The advantage being that `jsmapper` will be supported in more browsers, yet maintains exactly the same functionality.