this is a fix for using this script with ember.js:

get only <li> tag elements.