added image upload preview. Client side (javascript)