cleaned up JS and CSS into separate files