Fixed bugs when running in IE and Firefox.
Fixed bugs when running in IE and Firefox.

Firefox: replaced additional 'innerText'.
IE: replace '.children' with another get method.

nilyibo/Percolation,nilyibo/Percolation