Dependency injection for JavaScript, inspired by SwiftSuspenders