Moving cookie.js out of ReactableTest