DDF-670 - fixing build issues within some of the js files.