Add warning for disabled JavaScript, refs [8948eda]