atob fails in browser (not node) - debugging