init position on position.js