Javascript and style tidy up

Remove unneeded js files, fixed bugs, styling fixes and further pages
done.