Simplified the removing of whitespace by using Ruby's built-in method strip.
Simplified the removing of whitespace by using Ruby's built-in method strip.

florian/cookie.js,js-coder/cookie.js,js-coder/cookie.js,caolan/cookie.js