Cleaned gamestate.js
updated gitignore