Change to just pass in the counter element instead of creating it + Minor changes
Create the counter if one is not provided
Fix insertion of the counter
Change class name back to it's original value
Merge pull request #1 from scjr/patch-1

Allow the counter element to be passed in