styles for output sortable
added build preview outline and cleaned javascript