Js validation and NotInStock update done