old_contents: var browserify = require('browserify');
  var gulp = require('gulp');
  var handleErrors = require('../util/handle-errors');
  var source = require('vinyl-source-stream');
  
  function createSingleBundle (options) {
      browserify({
          entries: options.input,
          extensions: options.extensions
      })
          .bundle({debug: true})
          .on('error', handleErrors)
          .pipe(source(options.output))
          .pipe(gulp.dest(options.destination));
  }
  
  function createBundles (bundles) {
      bundles.forEach(function (bundle) {
          createSingleBundle({
              input: bundle.input,
              output: bundle.output,
              extensions: bundle.extensions,
              destination: bundle.destination
          });
      });
  }
  
  gulp.task('browserify', function () {
      createBundles([
          {
              input: ['./client/javascript/home.js'],
              output: 'home.js',
              extensions: ['.handlebars'],
              destination: './client/public/javascript/'
          },
          {
              input: ['./client/javascript/profile.js'],
              output: 'profile.js',
              extensions: ['.handlebars'],
              destination: './client/public/javascript/'
          }
      ]);
  });
new_contents: var browserify = require('browserify');
  var gulp = require('gulp');
  var handleErrors = require('../util/handle-errors');
  var source = require('vinyl-source-stream');
  
  function createSingleBundle (options) {
      browserify({
          entries: options.input,
          extensions: options.extensions
      })
          .bundle({debug: true})
          .on('error', handleErrors)
          .pipe(source(options.output))
          .pipe(gulp.dest(options.destination));
  }
  
  function createBundles (bundles) {
      bundles.forEach(function (bundle) {
          createSingleBundle({
              input: bundle.input,
              output: bundle.output,
              extensions: bundle.extensions,
              destination: bundle.destination
          });
      });
  }
  
  gulp.task('browserify', function () {
      createBundles([
          {
              input: ['./client/javascript/home.js'],
              output: 'home.js',
              destination: './client/public/javascript/'
          },
          {
              input: ['./client/javascript/profile.js'],
              output: 'profile.js',
              extensions: ['.handlebars'],
              destination: './client/public/javascript/'
          },
          {
              input: ['./client/javascript/profile-new.js'],
              output: 'profile-new.js',
              destination: './client/public/javascript/'
          }
      ]);
  });
subject: add new react profile to browserify task