fixed a js uploader mimetype bug