encode.decode.string.js :: remove uncessary buffer shortening
encoder.js :: implement encodeAtom() & test case