Fixed loading module in node.
Moved DOM-related TS interface extensions from utility.ts to renderer.ts
Fixed various lint warnings from jslint and jshint.

- `Array(n)` to `new Array(n)`
- `typeof foo.bar === "undefined"` to `foo.bar === undefined`
- `if (foo) { return bar; } else if (foo2) { return bar2; }` to `if (foo) { return bar; } if (foo2) { return bar2; }`
- The two export var statements for libjass.Set and libjass.Map resulted in empty statements "libjass.Set;". Fixed by assigning null to them.
- Some instances of `==` and `!=` to `===` and `!==`