Java vs. JavaScript: Understanding the Differences and Uses