Make grider jQuery 1.7 compatible