Adding back in support for browserify.

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