removed unused resource.js and metal.js