Fix small warnings.

    a) Add missing semicolons after functions definitions.
    b) Use '!==' to compare with 'null'.
    c) Remove redundant 'this.game'