var Game = require('./game');

function gameLoop() {
  Game();
  requestAnimationFrame(gameLoop);
}

requestAnimationFrame(gameLoop);

var Game = require('./game');

function gameLoop() {
  new Game();
  requestAnimationFrame(gameLoop);
}

requestAnimationFrame(gameLoop);

Fix jshint errors for index