You can just hide the element with JavaScript, so the element is displayed by default.
Only if JavaScript is executed, the element is hidden.
I don't know what markup your given code generates, but with JavaScript you could do something like this (for a simple-case example, when the element gets an id):
elem = document.getElementById(id);
elem.style.display = 'none';
So it will get hidden, when JavaScript is enabled. Be sure to wait, until the DOM is fully loaded, before you execute your script, otherwise this could end up doing nothing.
For DOM-Manipulation, I tend to use jQuery, it has a good DOM-ready Listener and easy element-selection.