add validation.js to spa static htm pages