Making the block rendering consistant with the js