Efficient programme

Introduce local js object array as source for js