add ajax preview function
add preview ajax function
add save and new_post ajax function