Migrate dot to browserify (part of issue #60)