Update main.js

ID is supposed to be Id.  Let me write it out a few more thousand times, maybe I'll learn.