fixed live preview feature using WPs built in AJAX functions