Added previous range hidden inputs; validated HTML5