[javascript] What is the shortest function for reading a cookie by name in JavaScript?