Changes rosterinit to use javascript+API instead of play helpers