fixed 6 w3c validator errors
moved custom js for the index page into a separate .js file
some extra fixes/indentation on the frontpage