fix some javascript position