Playing with instrumenting javascript