Fixing TSLint issues and resolving problems with javascript.