The moment when I require the Bloodhound JS library (v 1.2.1),
var Bloodhound = require('bloodhound-js');
the localstorage is wiped clean. I am storing some values there so right now I have a work-around in place where I read all the values, require Bloodhound, and then write them back to localstorage.
This is not a very nice solution though, so I was wondering if there is anyway to make Bloodhound not clear the Localstorage on load.