bug 54212 - Zero URLs are leaking in non-zero mobile sites

Added a check for zero configuration to avoid DOM rewriting
when Zero is not detected.

Change-Id: I8d91357f08734e97b2c5cedd24970a75b4ab005a