optimized further the code snippet to include successful cloning of .wb-nav classes