Don't use unchecked global jQuery variable in non-critical JavaScript

This code simply relies on jQuery being loaded, but there is no
guarantee. I had this error in my developement environment while
testing and found it really strange that such a purely cosmetic,
completely optional piece of code stops all other scripts on the page.

Change-Id: I4b3ea6658c5fdf73da72dd9838d3952b0098c2c7
Merge "Don't use unchecked global jQuery variable in non-critical JavaScript"