Javascript implementation of the famous game (Connect Four)