Port cilantro/ui/controls/* to JavaScript

Signed-off-by: Don Naegely <naegelyd@gmail.com>