improve validation of page structure

Since #51 added a client-side validation of the page structure, there is no need for a proper error message.