new document in browserify