* Clean up code to let that pass jshint

#50