Ensure BROWSER falls in the var statement, as it lies outside the local scope currently. Fixes #557