Adapted modules to requireJS