Prevent creation of double ajax container's

The script right now can add up to two nested ajax container's, this fixes that