Declaring `$` variable before using
Loading respondents autocomplete code in create/edit ticket page only

If it load in other page it try to use `juery-autocomplete` dep. which is
not available cauising errors
Merge pull request #214 from VarunAgw/jquery

Fix two JavaScript bugs

* Declare $ in anonymous wrapper
* Only load respondents autocomplete on the credit/edit ticket screen