Fixed issue #117

The problem was due to removing event wrong event listeners with
$.off() method.
Recompiled JS files
Fixed more issues related to events