stopped working after adding cookie consent JS