Update ejspeed.js

Improving performance