committing before moving to JS manipulation