Update demo to latest js code.