Make browserify work
Merge pull request #4 from JamesKyburz/issue-3

Make browserify work closing issue 3