ajax image upload added events, not finished yet