In hook_boot jQuery is undefined
If you add the JavaScript in hook_init, then it will be there the next time the page is served from the cache.

And if the page is served from the cache, then calling drupal_add_js in hook_boot will not add JavaScript to the page, because the page is not assembled from calling the page callback, but is served from the cache.

Use hook_init instead of hook_boot.