crude error reporting in js
maybe fixed iphone? replaced nth-child with more complex ugly shit