better table js and styles