upgrade to 1.1 elastic.js