committing before ajaxing the project