add pos is essential , and before navigator

the original code of the front end,without wcf code