Viewer waits until window is loaded.

Moved more styling from javascript to CSS file.
Made the component shadow thicker.