Update index.js

as yet untested, pass in array of rolls and get back array of roll result objects