fully validated html and javascript