The server-side javascript for Glitch that determined all game behavior