Fixes to make hookpress work with jQuery 1.9+

jQuery removed the .live() call. This change replaces it with the .on() call.