js validation
Merge pull request #27 from dannymeldrum/master

js validation