cw4: Fix syntax error in client JS
cw4: Fix up assembly implementatino