JavaScript plugin for handling browser cookies