applied jshint suggestions

missing semicolons, expression