Implemented onSelectionExtend and getRange() methods
Recompiled JS