Use require() and browserify to organize dependencies and compilation.