Web Transaction monitor with JavaScript