moved the JavaScript and CSS into separate documents