fixed #1: Added detection for classList support to init method