move browserify add of files to after event