Extract format/gameFormat, remove console.logs from previous messy commit