Fixed join button javascript issue

@league was accessible