Chainable Module Definition (CMD) dependency loader for JavaScript