Implemented the applet for writes and downloads; minor js hookup.