rearrange parent traversal loop
change for .. in to regular for loop
use document.querySelectorAll
Merge pull request #1 from nemetroid/queryselectorall

Queryselectorall