JavaScript array initialization optimization for the most heavily-trafficked routines.

Util has two helper methods that should be used: arrayset (think memset) and arraycpy.