Create imageUploadPreview.js

base js