js validation for front-end
actually make it submit form after validation
better errors for debugging
download page with no working buttons
Merge branch 'validation'