Add native support Base64 encoding/decoding + fix for browsers which not support it