Potential fix for #240

defined `getOwnPropertyNames` instead of using `Object.getOwnPropertyNames`