Fixed issue #117

The problem was due to removing event wrong event listeners with
$.off() method.