added extra options to loaders.js