This is exactly what I did, and it worked!
For the noobs out there, if you try to “cd” (change directory) to /etc/ but get “Permission denied”, then you need to type:
sudo -i
That way, you get root permissions to access (source URL)
Then you just “cd” all the way to /etc/apache2/conf-enabled/
Then you type: sudo nano javascript-common.conf
because “nano” is a text editor.
Then follow @DoTheEvo instructions, by adding a Hashtag “#” in the first line to comment out the # Alias /javascript /usr/share/javascript/
Save then run the systemctl start apache2
command, and it should work.
Thank GOODNESS for this, or else I would have to reset my entire server and give up.