this should probably stay EA so it can be used in IE8