injecting dependecies for minification