introduce no-javascript message, manual backport of #6202 and #10944

Fix #10841 for stable6. Please review @ser72 @MorrisJobke @owncloud/designers