JavaScript forms validator. Created for html attributes validation declarations