Switch to build-time check vs run-time for request module in browserify