Added jQuery to avoid cross browser problems.
Solved bug with next level selection.