add elasticjs dependency