From a couple of days experimenting, ChatGPT is good enough at javascript and following specific instructions that it is faster for me to give prompts, even if it takes 5-10 prompts to get the final script... than to write something similar myself. Tip: use "refactor" in prompt.