Changes to JS API for Connect 4.