added elastic.js dependency