localstorage: fix initial value setting
Use the function form of 'use strict'
Merge pull request #363 from glowing-bear/fixlocalstorage

localstorage: fix initial value setting