add javascript detect for streamline js