stripped down version of doubleclick plugin