Modified by Atlassian
/**
 * Encapsulates cookie utility methods
 * 
 * by @ded - http://www.dustindiaz.com/top-ten-javascript
 */