Use relative urls for history related ajax calls
Long job args don't overflow history page #717