Continued the refactor to use jQuery for the canvas.