Fixed the export of Resources.js