Removed overwrite of settings

Now that the settings of gulp are getting unaltered into the
require.optimize, we can do optimize anyway we like.
removed unused code

removed dependency and code that was not necessary anymore