Rename package.json repositories -> repository

...makes npm stop yelling at me
Fix unit test that crashes IE 6