base64.js is downloaded from:
http://www.onicos.com/staff/iz/amuse/javascript/expert/