Small class, that handles inflections like ruby for javascript strings, eg:
alert('cow'.pluralize()); // alerts cows
alert('cows'.singularize()); // alerts cow
Pretty simple, all methods except constantize have been replicated.
This file is probably mostly the work of the rails team, so the same license applies to this, as rails itself.