Port cilantro/structs to JavaScript

Signed-off-by: Don Naegely <naegelyd@gmail.com>
This should just be `this.model = _.bind(this.model, this);`