It now supports frontmost browser, using 'depends'
simplified the browser check code, regarding 'depends'