Don't use this tool for anything serious as ROT13 is very easy to break.

Code in question with syntax highlighting here: via Friendpaste rot13.js: ERRONEOUS