- javascript for products table