move setupJQ() call after definition

When `setupJQ` is called before definition it causes a problem in many browsers (latest Firefox, Chrome and Safari)

````
TypeError: setupJQ is not a function application.js:12826
undefined application.js:12825
"TypeError: setupJQ is not a function
 in http://localhost:3000/assets/application.js:12826
"
````