updated the firefox download url initialization to test for failure,
which could happen if the "os" or "lang" parameters are incorrect.