Make grider jQuery 1.7 compatible

As of jQuery 1.7, the .live() method is deprecated. I replace it with the .on() method, and make grider jQuery 1.7 compatible.