Removes examples of the team functions from team.js and added them to example.js