path change to jquery