prepending app_url to ajax calls