Revert "(#1021) use browserify to insert globals"

This reverts commit bccef2fcb1124359848116cece8d5a4e488826f6.