With ever changing AEM (with service packs), the dependency for underscore could be either lodash.underscore or cq.underscore
With AEM 6.5.19, the dependency it is working with is cq.underscoreTo make it future proof, you can use your extract this js file and then refer it explicitly. Again, this ...