fixed variable declaration issues causing minification to fail with 'use strict'