In the function autoComplete.prototype.positionSuggest you'll need to make changes so that the position you want should be calculated. This should do the work for you