use jquery for retrieving document width and height