for review

Tests are failing b/c XMLHttpRequest is not defined. I do not know where this goes but assume we have some sort of mocking mechanism. (Aside: I think we should refactor tests to use Phantom instead of emulating a browser.)