I have a jquery script to remove a class from a div automatically if browser javascript is enabled.
<script type="text/javascript">
$("#scriptT").removeClass("noscript");
</script>
But for this I need to import jquery (obviously), however this import is causing conflicts with other things of the site that is done with primefaces (for those who do not know the primefaces already has the jquery built-in). And you can not use the jquery of primefaces because in this particular page it does not have any primefaces component, which causes jquery not to be imported (as I'm using facelets, the import links go all in the template, consequently all the pages import ).
Anyway, can you replace this script with one in pure javascript? remembering that it has to be automatic when it initializes the site, without pressing any button.
The id #scriptT is in the div that I remove the noscript class