Changed live() to on() for jquery 1.9+ update