Updating the duplicate slugs to use Ajax calls.