put loaders into object's respective .js files