Revert accidental commit
pass sortable state to JS