Update Encoder.js

Hi Gordon, 

Should work now. Google enclosure compiler has no errors and the minified code is working.

Sacha