Added fix for generating minified js.