JNDEX wasn't exproted as a global before, but it is now. Not sure exactly what changed other than it's now define()ed with a name.