updated jsloader to match updated TaskAggregator