Avoid having cookie with an overly broad domain (Javascript) | CAST Appmarq