Adding javascript game to project