call a pre-hook before browserify