Changed .live() to .on()

.live() method is deprecated as of jQuery 1.7. Use .on() instead.