updated js for team