Brix 310 mpl ui part2

use `goog.bind` rather than `that = this`, you can see an example in sketch.js