JS application boilerplate with requirejs module loading