affix jquery before index.js