I would say not much else... Javascript validation makes sense in order to avoid useless requests to the server, but some server-side validation you should do anyway to prevent garbage to be entered. Whether you want to do it at the page_contract or in the form depends on your application and I cannot really comment
Hope this helps
Ciao