move setupJQ() call after definition
Merge pull request #96 from hajder/master

move setupJQ() call after definition
Fix TypeError: undefined is not a function