Add semicolons to JavaScript examples