apply jshint on weechat
Add missing semicolons
Use not notation for objects
Use strict equals
Remove global variables
Remove unused variables and __proto__ inheritance