Add updated jquery logic to shcedule js file