WHY WON'T IT WORK

It works when the javascript is in the html itself but not anymore when
linking. WHY.