please make triple pendulum in ejs