A lightweight cookie setting and reading library implementation in Javascript.