added js for ajax image uploader