WebUI: minor js init cleaning
WebUI: minor js init cleaning

Some minor cleaning of the js init. Removed useless separations and
variables.

LearnPAd/learnpad-simulator,LearnPAd/learnpad-simulator,LearnPAd/learnpad-simulator,LearnPAd/learnpad-simulator