change in product detail page and custom javascript validation