validation works now with HTML5, closes #58