Fix two jshint warnings

Because __proto__ is revived in ES6, I've kept it.

Three warnings
26	The '__proto__' property is deprecated.
31	The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.
233	Missing semicolon.