Modified js file to have a gridded background and to be controlled with the mouse.