replace custom script with jquery scripts