Revert motools js changes.