Added Javascript triggering to automations section