Update JS interface