Port cilantro/ui/tables/* to JavaScript

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Wrap after the second argument so the formatting is a bit nicer.