At the moment JS (both the script and the settings) are being added via hook_init().

Adding these via hook_block_view_alter would lower overhead on pages that don't need this stuff.