moved JS to seperate file. sortable working now