Cleaned up etlrepository.js