Changed jQuery .live() to .on()