Make grider jQuery 1.7 compatible

As of jQuery 1.7, the .live() method is deprecated. I replace that with the .on() method.