adding request function

adding a request function for non-click pjaxr requests, the better alternative for location.href=link;