Update swagGen.js

Added some additional features to the name gen (saving previously generated names and selected user chosen favourite names)