Move example css and js into separate files

At the moment they are included in the `index.html` file directly for simplicity, but people might take this as a best practice and start doing the same thing.