Added Ajax base url. from @bitstorm