Close ticket link was not working

Fixes #174
Add required dependencies to customer-autocomplete script file
Merge pull request #177 from VarunAgw/bugs

Target correct element for the Close Ticket button