fix bug in IE8
use js-generated element instead of body