I have a function that takes one string as an argument. It encodes the string in base64 one or more times and then returns that encoded value. For example, "hello world" may be used as an argument and may be encoded twice so that the returned value is "YUdWc2JHOGdkMjl5YkdR". Another example is an argument of "RTFM". It is encoded once so that the returned value is "UlRGTQ". I need a javascript function that can then properly decode the previously encoded string. It takes one argument. That argument is the string that has been encoded one or more times. The function should return the original string. One example argument is "YUdWc2JHOGdkMjl5YkdR" that should be decoded to "hello world". Another example argument is the string "UlRGTQ" which should return "RTFM". What is an example of a function that can achieve that?