Fixed typo in stateResource.js