Moved JS and CSS code into separated files.