Adding unsalted butter instead of salted butter allows you to control how much salt goes into your baked goods. Using salted butter may lead to a not as sweet a cookie as you had wished, just be careful!