upload preparation with jquery and bootstrap