Updated dependencies and switched to jQuery.on

jQuery.live is not supported any longer.
adding TODO