Create config.js file for plot widget. Move js scripts from index to
main.js, move widgets scripts from main.js to includwidget.js