Updated index.php to HTML5 (+ A little improvement) / Updated predefined Code to HTML5 / Moved JS to the bottom

- Updated to valid HTML5
- Updated predefined Code to valid HTML5 with examples
- Updated JavaScript a little bit
- JavaScript moves to the bottom 
________________________________________

We're working on a HTML-Import and HTML-Export. Because we're working on other projects too, it could take a while to update that.