added rightmost-char.js