Switch to Javascript syntax