- moving decode/encode into index.js for AMD/require
- updating version 0.2.1