fix invite player js autocomplete