[front-end] minor JS code layout refactorings
[front-end] resolves #63, widgets are able to reconfigure themselves
[front-end] random widget name is automatically generated
[front-end] Fix gulpfile formatting: single quotes, indenting