resource.js commented out