Fix problems affecting Google Chrome

- Fix undeclared variable problem
- Get rid of Firefox-specific CSS rules