changed other things to jquery