cookie constructor method and bake functions working, testing implemented for those functions
Wiring up JS to DOM