Switched AJAX calls to using the standard WordPress admin-ajax.php

WordPress recommends using admin-ajax.php and respective action hooks for handling AjAX calls. On some WordPress hosting platforms, executing PHP scripts results in 403 Forbidden responses. This was the case for the approach which used calls to the proxy.php script.