This is in JavaScript now

JavaScript rewrite of the original script, because we hate ourselves and decided to write this in node.
No ldap because we'd probably need some node package for it and I'm not that deep.
Need more test cases. I don't think recording duplicates or yourself is desirable.