Update resource.js

'Case' should be the plural 'cases' since it is talking about multiple possible cases rather than a single case.
For slightly more info, see the section 'When words like "none" are the subject' in this article: http://writing.wisc.edu/Handbook/SubjectVerb.html