Upgrade sample project JS to latest version