additional condition

Hi, we need this fix in order to make WooCommerce One Page Shopping plugin work. You can suggest a different solution if you want - the point is that we need to have the `div` container either when AJAX call is performed.