Using separate JS files for each panel

Moved global variables to main WebMQonttrol.js file