a minimal isomorphic JavaScript profiler