Fix getLocalCookie() to get a cookie value properly

http://www.w3schools.com/js/js_cookies.asp
Merge pull request #196 from YungSang/patch

Fix getLocalCookie() to get a cookie value properly