refactor: extract css and javascript to external files.