Added conventional semicolons after statements in JS.