Bug 1102230: fix CSS and JS errors that appear in the test log. r=MattN,Niko