Add missing semicolon and `js` to code snippet.