Fixed jquery 1.7.live() deprecation issue (changed to .on())