long pooling events, correct decimals in parseInt(), more csms

* events: add long pooling from UI to server
* correct decimals: fix parseInt(v) to parseInt(v ,10)
* CSMS: add it in single sms form