removed complete from $.ajaxSetup & put error inside the option. Removed error handling from individual ajax
added support for 'Get Data' button