Don't load external JavaScript in non-production environments

We believe these were causing some JavaScript-enabled Cucumber scenarios to fail on CI