began work on JS canvas bindings