Fixed js sortable error