Port cilantro/structs to JavaScript

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Nevermind.. see it's a function below. Replace bit `this.bindAll`