added moveToTarget.js (unfinished)