Add GPL license and reorganize code

Apply gnome's style guide for JS.
Add subreddit label to the desklet.
Change the style a bit of the desklet.