Use absolute paths for ajax calls.