Javascript Local and Cookie Storage

Just a couple functions to make working with Local Storage and Cookies a little easier.