add requirejs to dependencies and add main