partial integration of requirejs