JavaScript is the main way to automate a webpage, but who would have thought that NASA would pick it as a way to get scientists to plan their observations. The James Web telescope has already ...