JavaScript improvements.

- Fixing form validation function, that prevented forms without
  checkboxes/radio buttons from being submitted.
- Adding page URI checking.
- Comitting jquery file.