Added Javascript testing for product search