Fix javascript error with JPivot migration dialog.