jshint fixes: add semicolons and fix equal operators