Oven oojs

oven js file, slight change to cookie.js for better getState.