changed from timespenttest to timespentjs