add form & js validation

Please review