Difficulty with XSS (cross-site scripting) error on my journal site

If you are invoking jQuery before it is loaded, you may need to wrap your call in a $(document).ready() call.

jQuery was updated for the 3.x release, and you may want to check out this post regarding porting that back to 2.x:

Additionally, some other folks report having done a jQuery update, and might be able to offer pointers: