Validate corpus; Add javascript validation; Clean up front end