moved {en,de}code.js to lib/
added .travis.yml