Use jQuery() to avoid "Uncaught TypeError: object is not a function" error.

Add missing semicolons.