Add polyfills for .atob() and .btoa()

Forgot to add these on the previous commit.