main tag replaced to div to support IE