Merge branch 'js/add-e-clear-patch-before-stating'