Site width and JS changes

Moved all JS to a separate file, edited pages to fit screen.