fix di for when js is minified by azure