BattleCity written by javascript