Add tables to products. Fix product detail javascript bug.