minor perf and minification improvements

use new .get(index) rather than .get()[index]