Use id attribute instead of class attribute in ranges example (thanks @SteveBarnett)