Relaced depcerated .live() with .on()
Merge pull request #6 from janimattiellonen/fix-depcerated-live

Relaced depcerated .live() with .on()