Added replaceAll jQuery function