Fix js bug when firstChild/lastChild don't exist in fixRangeOverflow
Merge pull request #5 from metalabdesign/fix_selection_bug

Fix js bug when firstChild/lastChild don't exist in fixRangeOverflow