Port cilantro/structs to JavaScript

Signed-off-by: Don Naegely <naegelyd@gmail.com>
No need for this. Replace anywhere that uses it with `_.bind` if necessary.