re-organized files, updated cookie.js in ./staging