Separate JavaScript and CSS code out of index.html into individual files respectively