Jquerified vars, removed unnecessary JS code, fixed up the sidebars for good.