Redid browserify to externalize common dependencies