nitdoc: Add a spinner function in JQuery, we display a spinner during
commit process