RequireJS support. Fix #25.