added second level onto resources.js