wip for js roll the die