correction to jquery part