fix no-JS message, and add it to log in and shared as well cause they don’t work without JS

Please review @owncloud/designers 

After this is in, we need to manually backport the whole no-JavaScript stuff (from #6202 and this here) to stable7 and stable6 to fix https://github.com/owncloud/core/issues/10841