Squashing commits
Adding a sudo.js example

Updates to sudo.js, some refactoring resulted

removing asinine method (who let this happen?)

cleanup