fix typo in legacy.js
Merge pull request #710 from remotestorage/bug/legacy.js_typo

fix typo in legacy.js