Update to work on jQuery 1.9