Create viewcookies.js

Added javascript to output cookies into a console table