* debug log can now en- /disabled with global variable DEBUG
* ajaxCall() function now with parameter for type of response value, available values: "text", "xml" & "json"