Adding back in support for browserify.

Commit 29fcfcb092138666c4cd5b049db2b50dd217fc8c reverted the changes
from pull request #95 (unintentionally?). This adds the browserify
support back in.