updated version of css browser selector js