change Length to appropriate type, change interface{} in Each() to the
appropriate JQuery type
Merge pull request #2 from phaikawl/master

change Length to appropriate type, change interface{} in Each() to JQuery