Generic: do not create a JavaScript variant if JavaScript is not enabled