League edit js