adding a js recorder