removed unused `if browser code`