Added JS to create petition object on /promote.