Optimizeresources

minimizes js libraries and used them instead