a JavaScript implementation of Go board