diff --git a/public/templates/header.tpl b/public/templates/header.tpl
index 9855e8a238..398c99de88 100644
--- a/public/templates/header.tpl
+++ b/public/templates/header.tpl
@@ -5,6 +5,9 @@
{meta_tags}
+
+
+
diff --git a/src/meta.js b/src/meta.js
index e4924882cb..32d30ec12f 100644
--- a/src/meta.js
+++ b/src/meta.js
@@ -186,7 +186,7 @@ var utils = require('./../public/src/utils.js'),
},
minFile: function (next) {
if (!fs.existsSync(Meta.js.minFile)) {
- winston.warn('No minified client-side library found');
+ if (process.env.NODE_ENV === 'development') winston.warn('No minified client-side library found');
return next(null, 0);
}
@@ -196,7 +196,7 @@ var utils = require('./../public/src/utils.js'),
}
}, function (err, results) {
if (results.minFile > results.mtime) {
- winston.info('No changes to client-side libraries -- skipping minification');
+ if (process.env.NODE_ENV === 'development') winston.info('No changes to client-side libraries -- skipping minification');
callback(null, [path.relative(path.join(__dirname, '../public'), Meta.js.minFile)]);
} else {
Meta.js.minify(function () {
diff --git a/src/plugins.js b/src/plugins.js
index f4d1eba646..75804e94c9 100644
--- a/src/plugins.js
+++ b/src/plugins.js
@@ -109,12 +109,10 @@ var fs = require('fs'),
function(next) {
// CSS Files for plugins
if (pluginData.css && pluginData.css instanceof Array) {
- for(var x=0,numCss=pluginData.css.length;x