For more, see the evil.js project: https://github.com/kitcambridge/evil.js
Also note that `string.split('').reverse().join('')` is not a very good way to reverse a string in JavaScript. See http://mathiasbynens.be/notes/javascript-unicode#reversing-s...