built game using javascript