set body class to page slug, set active navigation item via js