How To Properly Pass Variables In A Stdforeach Loop In Teavm