add in team js - needs work