I want to rewrite this line without using jQuery so it can be applied quicker (and before the downloading of the jQuery library). The line is...
$(document).
Simple:
window.onload = function() { document.body.className = "javascript"; }
Or in HTML:
...
Unless you want to differentiate between "before onload" and "after onload", you can do it statically: