naive solution for checking if localstorage available

closes #12 for now