Js automate import