assets check on js block rendering