add hook_unload
Merge branch 'master' of github.com:TingPing/hexchat-javascript