add javascript version olap pivatal