remove browser issue code

These lines of code cause problems in chrome