Move referenced methods earlier in canvas.cljs to prevent compile warnings - fixes #7