A Maths program written for daisy in Javascript