Changed singleRoller code to be more correct with language

Based on feedback, I changed singleRoller to be a class and removed the
"immediately executing function". Then, based on additional research I tried
just turning into a wrapped function. Still learning what is "appropriate"
for JavaScript/Node.