Rearrange checks to do simpler/faster ones first
Rearrange checks to do simpler/faster ones first

dannyvankooten/browserpass,dannyvankooten/browserpass,dannyvankooten/browserpass,dannyvankooten/browserpass