Update nano.js

reformatted encodeHTML as a one-liner.