If you can, cu11, try to leave the JS out of that equation, as many end users browse with JS turned off. So if your stuff requires it to display correctly, it's going to look wonky to those folks.