Actually root should just be window for browserify to work.