attempting game via javascript 1