Add Applet to the stores.

It's not actually a store and should possibly go in js/
Try to get UserID, default to 0 as per the spec.