Javascript class support.