fix bug in script member.js in carousel