Fix localstorage write issues in most-popular-facebook
Merge pull request #1901 from guardian/fix-localstorage-javascript-error

Fix localstorage write issues in most-popular-facebook