Replaced .live() with .on()

.live() was deprecated in jQuery 1.7 and replaced with .on().