[BUG] Fixed path for xhr.php for preview items in author api demo.