add node base64 method