Moved JS to an external file, removed inline CSS