switch to DOM renderer to support more browsers