Update index.js

Allows additional CSS classes to be used with this library instead of hard-coding 'list'