image file (jpg/gif/png other...) to javascript(base64)