added full local path to ajax requests