Replaced knockout with debug version
Implemented 'on' binding