update example.html to include demo for nested list, also separate styles classes & js functionality
fixed nesting