Fixed error when creating a team and removed invalid js file declaration