Change resource.js