move jslint and javascript/css compression to templates module
Fix some jslint warnings in oas.js