create html forms, validation and submission all with javascript(without jQuery)