Got local storage working.
Reading pirate names from json file.