Changed save location ajax request url relative instead of absolute.