Added Encas Javascript API