Register JS tracker at init