Fixed jshint issues, see #52