1.6.0_10 and 11, Memory leak returning variables from Java to JavaScript