Alla fine ho scaricato nuovamente il JS, inserito tutto da 0 nel footer del sito tra i tag body e html e ha funzionato tutto!

Grazie.