Second batch of HTML5 validating and several fixes

- Finished setting up the form elements to use builtin HTML5 validation
- Also makes sure that "From" is never higher than "to"
- Added media queries to resize the page accordingly
- Cleanup of JS