including the critical-js bugfix from core