Fixed the issue where duplicate items were added to the settings menu
and fixed a minor syntax error in socket-client.js. Moved the debug:true
option to inside dist option for browserify sourcemap generation.