Add JS for canvas and points