The page is failing to load on a new client (without previously saved state info).
The error given is that mazecanvas is undefined.  perhaps a null check is in order, but there is more to this problem than meets the eye.