Modifying url for ajax calls for deployment