Updating ad code

Works with AJAX refresh now