Upload (smallish) images (with preview) with some Javascript and HTML