Closing divs
Rewrote how main.js build the wdiget string.
Rewrote how app.py writes its api request.
Spacing
Changed js events. Should close #7
Edited form