reformat
fixed jshint warnings