+validation.js to spa htm