fixed up usernamepass.js so it will actually run in a browser
fixed up usernamepass.js so it will actually run in a browser

Signed-off-by: Sam Phippen <e5a09176608998a68778e11d5021c871e8fae93c@googlemail.com>

LukeusMaximus/Wubulous,LukeusMaximus/Wubulous