clean up assignment of element array from jquery object or individual.
Merge pull request #2 from rallysf/refactor-object-assignment

clean up assignment of element array from jquery object or individual.