Add missing semicolons in preamble.js

A couple of statements are missing semicolons. I added them.