"encoding.js" should require "encoding-indexes.js" if we're in Node.

I'm not sure if you're comfortable with a change like this to `encoding.js`.