weird code necessary for making the test pass
running from PhantomJS issues by generating IDs