JS: Check if cookies are enabled