Fix Yaw scaling in JS