Fixed constructor, I need to make sure the $(selector) has elements.
Updating examples.