I modified moveSpan from Js file.
I updated modification of #361.