add missing js & test file
Merge branch 'feature/roles' of https://github.com/vernondcole/formhub into feature/roles