Remove extra jQuery object creation in horizon.instances.js
Remove extra jQuery object creation in horizon.instances.js

Reduces the number of jQuery document objects from 8 to 1 using a variable.
Removes the creation of redundant jQuery objects based on a selector.

Change-Id: I9ed0815f4fd171cec49c66b73cc04addd46c820d
Partial-Bug: #1412971

Tesora/tesora-horizon,karthik-suresh/horizon,dan1/horizon-x509,RudoCris/horizon,kfox1111/horizon,Hodorable/0602,endorphinl/horizon-fork,philoniare/horizon,CiscoSystems/horizon,gerrive/horizon,davidcusatis/horizon,Solinea/horizon,Mirantis/mos-horizon,karthik-suresh/horizon,redhat-openstack/horizon,django-leonardo/horizon,Dark-Hacker/horizon,philoniare/horizon,yjxtogo/horizon,orbitfp7/horizon,anthonydillon/horizon,eayunstack/horizon,davidcusatis/horizon,anthonydillon/horizon,django-leonardo/horizon,Dark-Hacker/horizon,NCI-Cloud/horizon,dan1/horizon-x509,saydulk/horizon,davidcusatis/horizon,redhat-openstack/horizon,coreycb/horizon,j4/horizon,icloudrnd/automation_tools,doug-fish/horizon,endorphinl/horizon-fork,endorphinl/horizon,bigswitch/horizon,NeCTAR-RC/horizon,yeming233/horizon,tellesnobrega/horizon,wolverineav/horizon,kfox1111/horizon,wangxiangyu/horizon,BiznetGIO/horizon,Metaswitch/horizon,coreycb/horizon,sandvine/horizon,BiznetGIO/horizon,Solinea/horizon,Dark-Hacker/horizon,bac/horizon,j4/horizon,Tesora/tesora-horizon,promptworks/horizon,tellesnobrega/horizon,NCI-Cloud/horizon,takeshineshiro/horizon,RudoCris/horizon,pranavtendolkr/horizon,Hodorable/0602,vladryk/horizon,pranavtendolkr/horizon,NeCTAR-RC/horizon,blueboxgroup/horizon,RudoCris/horizon,luhanhan/horizon,gerrive/horizon,dan1/horizon-proto,idjaw/horizon,henaras/horizon,saydulk/horizon,CiscoSystems/horizon,Daniex/horizon,wangxiangyu/horizon,tqtran7/horizon,eayunstack/horizon,orbitfp7/horizon,bac/horizon,openstack/horizon,noironetworks/horizon,BiznetGIO/horizon,tsufiev/horizon,openstack/horizon,maestro-hybrid-cloud/horizon,wolverineav/horizon,maestro-hybrid-cloud/horizon,xinwu/horizon,redhat-openstack/horizon,dan1/horizon-proto,idjaw/horizon,Mirantis/mos-horizon,noironetworks/horizon,django-leonardo/horizon,watonyweng/horizon,agileblaze/OpenStackTwoFactorAuthentication,agileblaze/OpenStackTwoFactorAuthentication,tqtran7/horizon,idjaw/horizon,tellesnobrega/horizon,wangxiangyu/horizon,orbitfp7/horizon,VaneCloud/horizon,henaras/horizon,mdavid/horizon,saydulk/horizon,watonyweng/horizon,tellesnobrega/horizon,yjxtogo/horizon,newrocknj/horizon,endorphinl/horizon,mandeepdhami/horizon,Tesora/tesora-horizon,henaras/horizon,tsufiev/horizon,henaras/horizon,liyitest/rr,anthonydillon/horizon,pranavtendolkr/horizon,liyitest/rr,sandvine/horizon,dan1/horizon-proto,Hodorable/0602,liyitest/rr,doug-fish/horizon,CiscoSystems/horizon,orbitfp7/horizon,vladryk/horizon,mdavid/horizon,tqtran7/horizon,BiznetGIO/horizon,CiscoSystems/horizon,bac/horizon,Daniex/horizon,bigswitch/horizon,coreycb/horizon,philoniare/horizon,takeshineshiro/horizon,mdavid/horizon,endorphinl/horizon-fork,bigswitch/horizon,damien-dg/horizon,FNST-OpenStack/horizon,kfox1111/horizon,sandvine/horizon,NeCTAR-RC/horizon,bigswitch/horizon,mdavid/horizon,izadorozhna/dashboard_integration_tests,icloudrnd/automation_tools,luhanhan/horizon,luhanhan/horizon,blueboxgroup/horizon,blueboxgroup/horizon,NCI-Cloud/horizon,noironetworks/horizon,Daniex/horizon,Metaswitch/horizon,takeshineshiro/horizon,yeming233/horizon,Hodorable/0602,bac/horizon,dan1/horizon-x509,xinwu/horizon,vladryk/horizon,redhat-cip/horizon,Solinea/horizon,damien-dg/horizon,newrocknj/horizon,yeming233/horizon,anthonydillon/horizon,ChameleonCloud/horizon,newrocknj/horizon,gerrive/horizon,endorphinl/horizon,mandeepdhami/horizon,watonyweng/horizon,saydulk/horizon,damien-dg/horizon,FNST-OpenStack/horizon,xinwu/horizon,RudoCris/horizon,ChameleonCloud/horizon,NCI-Cloud/horizon,agileblaze/OpenStackTwoFactorAuthentication,django-leonardo/horizon,davidcusatis/horizon,Dark-Hacker/horizon,j4/horizon,philoniare/horizon,j4/horizon,sandvine/horizon,dan1/horizon-x509,idjaw/horizon,Mirantis/mos-horizon,promptworks/horizon,Metaswitch/horizon,maestro-hybrid-cloud/horizon,Daniex/horizon,newrocknj/horizon,Metaswitch/horizon,NeCTAR-RC/horizon,icloudrnd/automation_tools,wolverineav/horizon,agileblaze/OpenStackTwoFactorAuthentication,mandeepdhami/horizon,VaneCloud/horizon,karthik-suresh/horizon,gerrive/horizon,yeming233/horizon,VaneCloud/horizon,Tesora/tesora-horizon,openstack/horizon,yjxtogo/horizon,noironetworks/horizon,promptworks/horizon,coreycb/horizon,redhat-cip/horizon,redhat-cip/horizon,wangxiangyu/horizon,watonyweng/horizon,dan1/horizon-proto,damien-dg/horizon,wolverineav/horizon,liyitest/rr,FNST-OpenStack/horizon,VaneCloud/horizon,karthik-suresh/horizon,vladryk/horizon,promptworks/horizon,maestro-hybrid-cloud/horizon,icloudrnd/automation_tools,yjxtogo/horizon,tsufiev/horizon,doug-fish/horizon,eayunstack/horizon,kfox1111/horizon,endorphinl/horizon,pranavtendolkr/horizon,Solinea/horizon,ChameleonCloud/horizon,doug-fish/horizon,FNST-OpenStack/horizon,tsufiev/horizon,luhanhan/horizon,endorphinl/horizon-fork,Mirantis/mos-horizon,tqtran7/horizon,redhat-openstack/horizon,blueboxgroup/horizon,mandeepdhami/horizon,takeshineshiro/horizon,xinwu/horizon,ChameleonCloud/horizon,openstack/horizon,redhat-cip/horizon,izadorozhna/dashboard_integration_tests