Update JS classes