added ajax handler for page editor