moved jQueryFuncs.js content into index.js as I appeared to have an interdependence issue