[ticket/12662] Hide quick-links when empty

Also some noJS fixes

PHBB3-12662