try <noscript></noscript> tags. Content within these tags is displayed if there is no javascript support.
say,
Code:
<script>
alert("Javascript's working");
</script>
<noscript>
<h2>dude, you browser doesn't seem to support javascript. you may want to change your browser preference</h2>
this should help :-)