fixed test for flash_detect when running in browser