FIX for: exception :SyntaxError: Unexpected end of input

FIX for
exception :SyntaxError: Unexpected end of input

Some messages comes after game ended (when leaderboard is shown) and this.table.get("settings") is empty and JSON.parse is throwing exception SyntaxError.