added requirejs and configuration