changed text of error message
fixed jshint warning
0.5.0 release