There's no reason to change it, if it works.
In jQuery, to get elements by ID do:
$("#header").height();
To get elements by class use a . instead of a #.
$(".main")...
There's lots of tutorials online as well if you just google the specific thing you need.