Go game in javascript