Added pre-cached method for JS 'cache array lengths'

According to my new JSPerf, this method is MUCH faster than the other
two.
http://jsperf.com/browser-diet-cache-array-length/11/