Rewrote the way files are sent to client - they are streamed in 8 MB chunks now.

Added JS script file and style sheet.