Support PHP version 5.2 and jQuery 1.7.