Update IntervalTree.js

add check for idx2 >= 0, to address https://github.com/shinout/interval-tree/issues/2
Merge pull request #3 from jedierikb/master

check for idx2 >= 0