add djax class to newBlock before comparing so that fragments which dont change are not replaced