minor JS client changes