Why do you end sentences with a period and start them with a capital letter? So we know when your sentences begin and end. Same reason that js likes to see a semi-colon, it tells it this is the final statement. I think a lot of js implementations don't require the ; but it is most important when it comes to things that start code segments.
if (x == 1)
x = x + 1;
The above means increment x if x is 1.
if (x == 1);
x = x + 1;
The above means that if x is 1 do nothing. Then always increment x.
As best practice you should always use them.