Added encoding param for atob and btoa compatibility
Merge pull request #3 from frantello/master

Added encoding param for atob and btoa compatibility