* Fix bug with deleting rows
* Use jQuery on() properly