Create eegg.js

Some code