added util.js, replaced getElementById with shorter wrapper function, getId
removed base64.js and canvas2image.js