updated to correct doctype and charset
updated validation of max ambig to allow 0
Merge pull request #536 from paczian/master

base template and upload page validation