encode.js missing