Fix: JavaScript merge error
Fix example code