init_values() was the cause. There were a few lines with non existent vars on Discovery pages that caused the JS failure. Sometimes, JS is hard to track.
Best wishes