shortened cook.js using eval,initial work on webpage begins