[TIMOB-17925] Profiler changes

TiJSCore changes for [TIMOB-17925](https://jira.appcelerator.org/browse/TIMOB-17925)