added option for not checking the validity of the browser