Fixed late night coding bugs. Should fix issue #8. Last commit I changed getTeam to use javascript rather than log interpreting, although the log version may appear again soon in a different class.