Avoid creating cookie with overly broad path (Javascript) | CAST Appmarq