Changed array prototypical behavior to be a Java field.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>