fix issues with ie8

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>
fix Element.text() in IE8

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