instrument js as a post step to parsing