adding some javascript code that previews an uploaded image