Update ajax-functions.php

Added localization.