added requirejs as external dependency