Update front-end reservation function

Updated stock reservation cannot exceed go lower than 0 or 0, floating
point can reserve stocks. I also added some stuff, cannot remember.