beautyfied js
added deterministic games