update vender code and support for browsers without border-image