js data class