Cleaned up hexgame.js