Updated demo js to latest version.