js: register team function
get teams league list and add the new one to it
fire the register function
fire register function when register btn is clicked
Merge pull request #31 from stoopkid1/register-team-fix

Register team button fix