added join and normalize

and setup the tests so they can be run in the browser