Update elastic.js