Fix for no-JS anonymous edit warning messages

Change-Id: I87bc2614ee9ea69b3e1c830464c90dead9960d92
Merge "Fix for no-JS anonymous edit warning messages"