Added RequireJS support.