Moving move_shape.js to module