Jquery plugin for both GET and POST cross domain ajax requests