fix uploadImage js