Fix jshint warnings
Release version v0.3.1