added duplicate? method for posts - BANDAID for duplicate ajax requests