I had a similar problem. While that particular error message is not well-documented, I believe it means that you need to name your function something other than "reset", or any other existing default javascript function name. Try something like
extendShinyjs(
text = "shinyjs.reset_aLittleLoopy = function() {whatever}",
functions = c("reset_aLittleLoopy")
)
Cheers!