Helper Javascript to submit cybercommons tasks