Added JS log snippit