rejigged jQuery to work with gravity forms and other plugins requiring inline jQuery