Javascript library to inspect function executions