Missing semicolons to js code examples