Fix race condition with jQuery callbacks, but naming the callback according to the petition_id. Also, add Garrett's changes to the production site, which weren't present on the Github repo.