add requirejs to the package.json dependencies
update exclude behaviour to match r.js