fixed demo js