Upgrade JSdraw input.