adding .js to require calls because travis cant seem to resolve cookie vs cookie.js