Added old browser optional support to divide width, fixied typs