js at end and html5 validation