switch to using a new Element object, ie8 is broken again...

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>