Update index.js

add 'move' method