TTimespan not found as System.Timespan not found by default for pas2js. Also TStopWatch in System.Diagnostics.