added image widget, upload js