Corrected syntax: Added semicolons.
Changed to use JQuery (not working yet).