An unintrusive JavaScript debugging/profiling/log generating tool