fixed jshint warnings
0.3.1