little refactoring to let the specific loader implement it's own list of js resources