Fix for odd `screen.availWidth`

Chrome calculates screen dimensions taking into account system toolbars; as a result, on my Ubuntu system with a side Unity taskbar `screen.availWidth == 1855` and the token request code fails, as Chrome expects an integer.