Update eegg.js

aditya change