First working prototype
Refractoring code & minor js fixes
Gadgetifying the code, adding the basic gadget css