how to check if browser is firefox in javascript