Just a question: couldn't we add the browser sniffer directly in the gaPreviewLayers service?
Would maybe even be less code.