Fixes html resouces bundling to not optimize scripts and styles when optimizaion option is off