base64-encode-decode-using-javascript