Restrict unprivileged users from seeing unpublished dataset versions

Also, use jQuery for DV desc counter