Added native Array methods where supported by JavaScript.

Signed-off-by: uhunkler <urs.hunkler@unodo.de>