Closes #20. Looks like Chrome no longer supports document.width