js priorities