Fix leaky var.
Make browserifyable
Merge pull request #14 from brianloveswords/browserifyable

Make CommonJS compatible