title: JavaScript: save base64 string as file
body: <p>I have a base64 string, file type. File type can be image, text or even pdf. I need to show <code>download</code> link and when user clicks it should start downloading as expected file. <br/>
  Concisely, server sends me file as base64 string, and I need to save it as file on browser. How can I save base64 string as file on browser? It would be best if solution works on IE9 also. </p>