fixed unscoped variable in JavaLoader

unscoped variable in query loop causes error on Railo when strict scoping is used