Fix build, also pinning to jQuery 1.x for compatibility