Tests pass in ie8

Don't set attribute with jquery as it adds an expando property