Port cilantro/structs to JavaScript

Signed-off-by: Don Naegely <naegelyd@gmail.com>
This should not be needed since it should be already defined on the class..