Shadows, removed some bugs and made valid html5