Firing setPosition on doc ready for earlier result