Support JS-targeted diagnostic tests