Added code to turn browserify dependencies into trees