depart js