Html, css, javascript clean up part 1...

Reorganized javascript and css files. Fix some html structure porblems as well.