move setupJQ() call after definition