Does JavaScript need classes?