Javascript Base64 encode/decote with utf8 support