https://numbas.mathcentre.ac.uk/question/7753/accessing-another-custom-function-from-a-javascript-custom-function/embed/