Fixed elapsedMs to actually return milliseconds, not seconds.