add browserdetector for compositing demo