Add requireJS support.