made changes to jquery