update description
fix jshint errors
fix tests