Fix isSupported boolean/method bug

Noooot sure why this bugged for me?
Merge pull request #4 from andylolz/localstorage-bug

Fix isSupported boolean/method bug

Thanks for this!