Added jsdoc snippets and switched to gjslint