Fix for removed method

.live() replaced with .on()