Update js object and class section