WIP - JS form validation