Update configure.js

Changed move function