adds css styling and js list with text field