Update reposition.js