Fix jshint errors

Add missing semicolons
Change '!=' to '!==' to compare with ''