on the track to switch to js