Add build-browser file for linux

 * Linux (and possibly other *nixes) don't support arguments for
   the /usr/bin/env argument. Simplify the script and use plain JS.