Merge pull request #52 from krnekit/master

Silenced jshint warning for abstract authentication method
Update mechanism.js