Adding gameEngine slight error on getElementById()