Document.observe and getWidth()