Support for RequireJS and compatibility with require-css