Replaced calls to .live with .on and made changes required to allow it to work.  This will allow you to use newer version of jquery (>1.7).