add the cookie library for jquery for storing last active tab
minor changes in collection page module