Update index.php

move js-script to end of file
change all js to min
remove normal js move to functions.js
remove old css and replace with a single file