Updated js code, new game pending