Fix dice ruler js, add reset button