Update selectRange.js

Fixed Uncaught SyntaxError: Unexpected token )