unit tests in browser
authorize.js setLocation accepting objects coused problems, fixed now