Update ROT.js, trim trailing space