Handling some browser problems