live() method changed to on() due to removal of the former from jquery 1.9