Resolve product detail ajax call problem