test-in-browser: don't use #if in attributes

don't know why this even works atm.

spacebars may add the ternary operator