cleaning jsapp2