initial commit of HTML5 file upload and preview