Added the `/g` flag to sed fixes #7

Without `/g` it stops at the first instance of require on a line.
Committing an updated dist/indexed.js
Merge pull request #8 from AsaAyers/patch-1

Added the `/g` flag to sed fixes #7