diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js
index 4dfd587eb390af26ba1b91b6f26c20e1c80fd963..65b3936ccb81e95343b83a23c40751f534586166 100644
--- a/config/webpack.config.dev.js
+++ b/config/webpack.config.dev.js
@@ -12,16 +12,15 @@ var autoprefixer = require('autoprefixer');
 var webpack = require('webpack');
 var HtmlWebpackPlugin = require('html-webpack-plugin');
 
-function isInDebugMode() {
-  return process.argv.some(function (item) { return item.indexOf('--debug-template') > -1 });
-}
-
 // TODO: hide this behind a flag and eliminate dead code on eject.
 // This shouldn't be exposed to the user.
 var isInNodeModules = 'node_modules' ===
   path.basename(path.resolve(path.join(__dirname, '..', '..')));
 var relativePath = isInNodeModules ? '../../..' : '..';
-if (isInDebugMode()) {
+var isInDebugMode = process.argv.some(arg =>
+  arg.indexOf('--debug-template') > -1
+);
+if (isInDebugMode) {
   relativePath = '../template';
 }
 var srcPath = path.resolve(__dirname, relativePath, 'src');
diff --git a/scripts/start.js b/scripts/start.js
index cab3bfae658b2c169a08f895097b314e3e0acbf7..2032a526f387abe44ccfb6b84fd9053d5540e619 100644
--- a/scripts/start.js
+++ b/scripts/start.js
@@ -17,14 +17,13 @@ var config = require('../config/webpack.config.dev');
 var execSync = require('child_process').execSync;
 var opn = require('opn');
 
-function isSmokeTest() {
-  return process.argv.some(function (item) { return item.indexOf('--smoke-test') > -1 });
-}
-
 // TODO: hide this behind a flag and eliminate dead code on eject.
 // This shouldn't be exposed to the user.
 var handleCompile;
-if (isSmokeTest()) {
+var isSmokeTest = process.argv.some(arg =>
+  arg.indexOf('--smoke-test') > -1
+);
+if (isSmokeTest) {
   handleCompile = function (err, stats) {
     if (err || stats.hasErrors() || stats.hasWarnings()) {
       process.exit(1);