Modified client js to make smoother drawing lines. same backend