Rename resource from /strophe/ to /cadence/.
Ditch non-standard trimRight(), use regex.

IE and Opera do not have this, and it's not a standards-track
function; Mozilla recommends against it.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/TrimRight