Removed unused method declaration and moved non-module-specific code outside of module definition.
Fix tests to use the complete libjass.js since individual .js files are no longer generated.
Be explicit about TypeScript version. Show detailed errors from npm install.