js pos fix