Why do news articles always use JavaScript in scre…

Why do news articles always use JavaScript in screenshots of code?