How to add JavaScript to a specific View if I don't know the node?
Check out hook_views_pre_render https://api.drupal.org/api/views/views.api.php/function/hook_views_pre_render/7.x-3.x
That provides a view object where you could retrieve the machine name of your view and add your drupal_add_js when its the relevant view being loaded