Add semicolons to JavaScript in README

If we're gonna write JavaScript, we might as well just write it right.