Few code style issues

Hit there, just a few minor fixes : 
* add missing semicolons
* remove an unused variable
* change few comparisons to strict comparisons
* add missing event parameter (event was undefined)

Cheers.