added requirejs forking capability