JS updated on the trigger create page