Take width of container taken using jQuery if present

Calculate with of the container using jQuery when that width defined
indirectly.