feat(btoa): port and modify from Base64.js

Please review my module and give me some advice
so all `IS_BTOA_WORKS_AS_EXPECTED` should be `HAS_BTOA` ?