Fixed Referee and js