xwarejs.js: only trigger setLogined/setOnline with booleans
#64: appending a null at the end of xwarejs.coffee