The position of the grid is now also stored in the cookie. Offset gets reset when resetting.
Forgot to add all the needed files for the A* algorithm (graph.js and astar.js) and the luminosity.js to compute darker colors.