added requirejs initial implementation