missing parentheses in localStorage existence test

`this.localStorage` method should be called to test the existence of global object localStorage