move tern to js hotload