Update codecString.js

Should be clients job to encode the string if needed