updated javascript for automation-feature-request